[CODE HEALTH] Fix clang-tidy bugprone-throwing-static-initialization warnings#4206
Merged
marcalff merged 17 commits intoJul 8, 2026
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4206 +/- ##
==========================================
- Coverage 82.82% 82.80% -0.01%
==========================================
Files 415 415
Lines 17431 17452 +21
==========================================
+ Hits 14435 14449 +14
- Misses 2996 3003 +7
🚀 New features to boost your workflow:
|
60e25bf to
3436db9
Compare
3436db9 to
d873fbf
Compare
dbarker
reviewed
Jul 3, 2026
dbarker
approved these changes
Jul 7, 2026
dbarker
left a comment
Member
There was a problem hiding this comment.
Thanks! Looks good with a few minor optional changes. Please resolve the conflicts. This PR needs a second review/approval of the API file changes.
35a92d6 to
64ac1a1
Compare
Contributor
Author
Thank you! Rebased and pushed a commit for the suggested changes. @marcalff would you mind giving the second review when you have a chance :) |
marcalff
approved these changes
Jul 8, 2026
marcalff
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks for the cleanup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4197
Changes
Addressing clang-tidy
bugprone-throwing-static-initializationwarningsFixes:
constwithconstexprfor compile-time constantsconst std::stringwithconstexpr const char *nostd::string_viewfor a non-owning viewmain()and passed by referenceFor significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes